package com.developer.platform.application.query.dto;

import java.util.List;

/**
 * @author ：qiaoliang
 * @date ：2020-10-30
 */
public class ResponseModel<T> {

    private List<T> list;
    private int total;

    public ResponseModel(List<T> list, int total) {
        this.list = list;
        this.total = total;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

}
